<?php 

$connect = new DatabaseConnection('localhost','roniplco','a5mzf47P7F', 'blogpage');
$db = new selectdb('roniplco_rpblog');


$sql = "SELECT * FROM  blogpage";
$r = mysql_query($sql);
$rows = mysql_fetch_array($r);
$result =mysql_query($sql);

?>

<!-- MAIN CONTENT TEMPLATE -->
<div class="container">
	<div class="section clearing">
		<div class="column div_1_of_1 rp-web-header">
		<h1>Blogger Kuno</h1>
		<div class="rp-wrapper-name">
			<span class="rp-roni">ronipinili blog</span>
			<div class="clear"></div>
		</div>
		</div>
	</div><!-- /end of web title -->
	<div class="section clearing">
		<div class="column div_3_of_4">
			<div class="rp-blog-wrapper">
				<h2 class="rp-blog-title"><a href="?pages=blog"><?php  echo $rows['blog_title'];?></a></h2>
				<p class="rp-blog-subject rp-excerpt"><?php  echo $rows['blog_content'];?></p>
			</div><!-- this is the blog subject wrapper -->			
		</div>
		<?php include 'layout/side-widget.php'; ?>
	</div><!-- /end of content wrapper -->
</div>
<!-- MAIN CONTENT TEMPLATE -->	